#ifndef __DRV_NT35510_H
#define __DRV_NT35510_H
#ifdef __cplusplus
  extern "C" {
#endif


#include "main.h"


// 0:horizontal 1:vertical
#define LCD_DIR 1
#if LCD_DIR
// vertical 
#define LCD_Size_W  (480)
#define LCD_Size_H  (800)
#else
// horizontal
#define LCD_Size_W  (800)
#define LCD_Size_H  (480)
#endif


void LCD_Init();
void LCD_Test();
void LCD_Fill(uint16_t XStart, uint16_t YStart, uint16_t XEnd, uint16_t YEnd, uint16_t* colors);
void LCD_Clear();
void LCD_ShowString(uint16_t x, uint16_t y, uint8_t* Pstr, uint16_t size, uint8_t fontSize);
void LCD_lvglDispTest();


#ifdef __cplusplus
  }
#endif
#endif /* __DRV_NT35510_H */
